@model bool
@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>ViewLogin</title>
    <link href="~/css/Login.css" rel="stylesheet" />
</head>
<body>
    <div class="login">
            <form action="/User/Login" method="post">
                <div class="display">
                    <input id="name" class="input-box" name="userName" required="" type="text" placeholder=" name"/>
                    <input id="password" class="input-box" name="password" required="" type="password" placeholder=" password"/>
                </div>
                @if (@Model)
                {
                    <div id="wrong">账号或密码错误！！！</div>
                }                
                <input class="login-up" type="submit" style="cursor:pointer" value="Login" />
            </form>
            <a class="register" href="/User/ToRegister">Register</a>
            <img src="~/images/感叹号.png" class="register-img" />
    </div>
</body>
</html>

